package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void addAddressBook(AddressBook addressBook);

    //获取当前用户登录的所有地址
    List<AddressBook> list();

    //设置默认地址
    void setDefaultAddressBook(AddressBook addressBook);

    //查询默认地址
    AddressBook getDefaultAddressBook();
}
